package com.springboot.killingsystem.util;

public class Constant {

    // 字符串常量
    public static final String USER = "user";
    public static final String GOODS_LIST = "goods_list";
    public static final String DEFAULT_KEY = "";
    public static final String SECOND_KILLING_STATUS = "SECOND_KILLING_STATUS";
    public static final String ERR_MSG = "errmsg";
    public static final String LOGIN = "login";
    public static final String ORDER_DETAIL = "order_detail";
    public static final String GOODS_VO_LIST = "goodsList";
    public static final String COOKIE_NAME_TOKEN = "token";
    public static final String SPLIT_SIGNAL = "_";
    public static final String SECOND_KILLING_QUEUE = "skQueue";
    public static final String PATH_RANDOM = "123456";
    public static final String FONT_CANDARA = "Candara";
    public static final String JAVASCRIPT = "JavaScript";

    // 数字常量
    public static final Integer QUEUING = 0;
    public static final Integer ENDING = -1;



    // 因代码优化，暂且废弃
//    public static final String ORDER_INFO = "orderInfo";
//    public static final String MIAOSHA_FAIL = "miaosha_fail";
//    public static final String REMAIN_SECONDS = "remainSeconds";
//    public static final String GOODS_DETAIL = "goods_detail";
//    public static final String GOODS = "goods";
//    public static final String TOPIC_QUEUE1 = "topic.queue1";
//    public static final String TOPIC_QUEUE2 = "topic.queue2";
//    public static final String TOPIC_EXCHANGE = "topic_Exchange";
//    public static final String ROUTING_KEY1 = "topic.key1";
//    public static final String ROUTING_KEY2 = "topic.#";
//    public static final String FANOUT_EXCHANGE = "fanout_exchange";
//    public static final String HEADERS_EXCHANGE = "headers_exchange";
//    public static final String HEADERS_QUEUE1 = "headers.queue1";
//    public static final String QUEUE = "queue";
//    public static final Integer MAX_REQUEST_TIMES = 5;
}
